package com.umpay.dto.memberMgr.req;

import com.umpay.annotation.Pattern;
import com.umpay.verify.Verifiable;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @ClassName: MemberQueryRes  
 * @Description: 会员信息查询请求类 
 * @author zhangtao  
 * @date Jan 24, 2018
 */
public class MemberQueryReq implements Verifiable {
	
	/**
	 * 商户号
	 */
	@NotEmpty
	@Pattern
	private String merId;
	
	/**
	 * 用户类型  1-个人 2-个体 3-企业
	 */
	private String userType;
	
	/**
	 * 平台用户号
	 */
	@Pattern
	private String userId;
	
	/**
	 * 商户用户号
	 */
	@Pattern
	private String merCustId;
	
	@NotEmpty
	@Pattern
	private String rpid;
	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMerCustId() {
		return merCustId;
	}

	public void setMerCustId(String merCustId) {
		this.merCustId = merCustId;
	}

	public String getRpid() {
		return rpid;
	}

	public void setRpid(String rpid) {
		this.rpid = rpid;
	}

	@Override
	public String toString() {
		return "MemberQueryReq [merId=" + merId + ", userType=" + userType + ", userId=" + userId + ", merCustId="
				+ merCustId + ", rpid=" + rpid + "]";
	}
}
